package com.chat.websocket.entity.vo;

/**
 * SunJingxuan
 * 2022 \ 08 \ 11
 */

public class MessageContentVO {

	private Long messageId;
	private String url;
	private String nickname;
	private String content;
	private String position;

	public MessageContentVO() {}

	public MessageContentVO(Long messageId, String url, String nickname, String content, String position) {
		this.messageId = messageId;
		this.url = url;
		this.nickname = nickname;
		this.content = content;
		this.position = position;
	}

	public Long getMessageId() {
		return messageId;
	}

	public void setMessageId(Long messageId) {
		this.messageId = messageId;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	@Override
	public String toString() {
		return "MessageContentVO{" +
				"messageId=" + messageId +
				", url='" + url + '\'' +
				", nickname='" + nickname + '\'' +
				", content='" + content + '\'' +
				", position='" + position + '\'' +
				'}';
	}
}
